import { SetMetadata } from '@nestjs/common';
import { ROLE_DECORATOR_KEY } from '../constants';

export const Role = (...args: string[]) =>
  SetMetadata(ROLE_DECORATOR_KEY, args);
